package com.sgj.common.constant;

/**
 * @Author: Guoji Shen
 * @Date: 2021/9/26 16:09
 */
public class RedisConstant {

    /**
     * redis保证原子性Lua脚本
     */
    public static final String SCRIPT = "if redis.call('get', KEYS[1]) == ARGV[1] then return redis.call('del', KEYS[1]) else return 0 end";
}